package com.wnnight.wys.service.room;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wnnight.wys.entity.room.Room;

import java.util.List;

/**
 * @ClassName: RoomService
 * @Description: //TODO
 * @author: CD
 * @date: 2022/8/28-20:11
 * @version: v1.0
 */
public interface RoomService extends IService<Room> {
    List<Room> selectRoomBYCondtion(Room room);
    List<Room>selectBuilding();
    List<Room> getfoolByunbu(Integer unitId,Integer buildingId);
    List<Room> getfoolAllByunbu(Integer unitId,Integer buildingId);
    void deleteLandId(long id);
    void updateRoom11(Room room);
    Room selectRoomById1(long id);
    int selectRoomCountzc();
    int selectRoomCountcz();
    int selectRoomCountkx();
    List<Room> selectByLandlordId(int landlordId);


    List<Room> getRoomByBuildingId(Integer buildingId);
    List<Room> getRoomByUnitId(Integer unitId);
    List<Room> getRoomByFloorId(Integer floorId);
    List<Room> selectlistRoom();

}
